﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace Booky.DataStorage
{
    public class ShortUrl
    {
        public ObjectId Id { get; set; }
        public ObjectId RelatedBookmarkId { get; set; }
        public string ShortCode { get; set; }
        public string Uri { get; set; }
        [BsonDateTimeOptions(DateOnly = true)]
        public DateTime CreatedOn { get; set; }
    }
}
